/*
 * Compressed by JSA(www.xidea.org)
 */
window.Proxy=function(){var $={},_=function(B){if(!B)return;if(!$[B])return;var A=Array.prototype.slice.call(arguments,1);for(var E=0,C=$[B],D=C.length;E<D;E++){try{C[E].fn.apply(C[E].scope,A)}catch(_){if(window.console)console.error("file:"+_.fileName+",lineNumber:"+_.lineNumber+",Message:"+_.message)}}};_.trigger=_;_.add=function(A,B,_){if(!A)return;if(!$[A])$[A]=[];$[A].push({fn:B,scope:_||window})};_.remove=function(_,C){if(!_)return;if(!$[_])return;if(C)for(var D=0,A=$[_],B=A.length;D<B;)A[D]==C?A.splice(D,1):++D;else $[_]=[]};return _}()